package cn.sofwin.orm.mapper;

import cn.sofwin.orm.entity.Article;

import java.util.List;

public interface ArticleMapper {
    //按ID查询
    Article selectOne(Integer id);

    //查询所有文章列表
    List<Article> selectAll();

}
